package com.mongodb.document.test;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "inventoryItem ")
public class InventoryItem {
    @Id
    private String id;
    private String item;
    private String description;
    private int qty;
    private int discount;
}
